method Socket.prototype.[Symbol.asyncDispose]Socket.prototype.[Symbol.asyncDispose](): Promise<void>DeprecatedCalls socket.close() and returns a promise that fulfills when the socket has closed. Return TypePromise<void>